package server;


import server.connector.http.HttpRequestImpl;
import server.connector.http.HttpResponseImpl;
import server.core.SimpleLoader;

import javax.servlet.ServletException;
import java.io.IOException;

public interface Container {
    public SimpleLoader getLoader();
    public void invoke(HttpRequestImpl request, HttpResponseImpl response)
            throws IOException, ServletException;
    public String getName();
    public void setParent(Container container);
}
